import request, {requeste} from '../utils/request';
export async function queryShipping(params) {
    return requeste('ShippingService','queryShipping', {
        method: 'POST',
        body: params,
    });
}

export async function addShipping(params) {
    return requeste('ShippingService','addShipping', {
        method: 'POST',
        body: params,
    });
}

export async function queryCityIsExist(params) {
    return requeste('ShippingService','queryCityIsExist', {
        method: 'POST',
        body: params,
    });
}


export async function querySeller(params) {
    return requeste('ShippingService','querySeller', {
        method: 'POST',
        body: params,
    });
}

export async function modSellerShippingStatus(params) {
    return requeste('ShippingService','modSellerShippingStatus', {
        method: 'POST',
        body: params,
    });
}


export async function delShippingTempletAttr(params) {
    return requeste('ShippingService','delShippingTempletAttr', {
        method: 'POST',
        body: params,
    });
}

export async function addFrightTemplet(params) {
    return requeste('ShippingService','addFrightTemplet', {
        method: 'POST',
        body: params,
    });
}

export async function findParentNode(params) {
    return requeste('ShippingService','findParentNode', {
        method: 'POST',
        body: params,

    });
}



export async function modFreightTemplate(params) {
    return requeste('ShippingService','modFreightTemplate', {
        method: 'POST',
        body: params,
    });
}


export async function updateShippingTemplet(params) {
    return requeste('ShippingService','updateShippingTemplet', {
        method: 'POST',
        body: params,
    });
}


export async function queryFreightTemplate(params) {
    return requeste('ShippingService','queryFreightTemplate', {
        method: 'POST',
        body: params,
    });
}



export async function delShipping(params) {
    return requeste('ShippingService','delShipping', {
        method: 'POST',
        body: params,
    });
}

export async function modShipping(params) {
    return requeste('ShippingService','modShipping', {
        method: 'POST',
        body: params,
    });
}

export async function queryAllShipping(params) {
    return requeste('ShippingService', 'queryAllShipping', {
        method: 'POST',
        body: params,
    });
}






